<?php

use Illuminate\Database\Seeder;

class PermissionTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('permission')->delete();
        
        \DB::table('permission')->insert(array (
            0 => 
            array (
                'id' => 1,
                'name' => 'config',
                'displayName' => '系统配置',
                'root_pid' => 1,
                'pid' => 0,
                'lft' => 1,
                'rgt' => 56,
                'level' => 1,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 09:08:33',
            ),
            1 => 
            array (
                'id' => 2,
                'name' => 'config/permission',
                'displayName' => '权限',
                'root_pid' => 1,
                'pid' => 1,
                'lft' => 48,
                'rgt' => 55,
                'level' => 2,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 09:09:25',
            ),
            2 => 
            array (
                'id' => 6,
                'name' => 'config/permission/insert',
                'displayName' => '权限新增',
                'root_pid' => 1,
                'pid' => 2,
                'lft' => 53,
                'rgt' => 54,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:06:36',
            ),
            3 => 
            array (
                'id' => 7,
                'name' => 'config/permission/update',
                'displayName' => '权限更新',
                'root_pid' => 1,
                'pid' => 2,
                'lft' => 51,
                'rgt' => 52,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:07:01',
            ),
            4 => 
            array (
                'id' => 8,
                'name' => 'config/permission/del',
                'displayName' => '权限删除',
                'root_pid' => 1,
                'pid' => 2,
                'lft' => 49,
                'rgt' => 50,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:07:09',
            ),
            5 => 
            array (
                'id' => 9,
                'name' => 'config/role',
                'displayName' => '角色',
                'root_pid' => 1,
                'pid' => 1,
                'lft' => 40,
                'rgt' => 47,
                'level' => 2,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:07:41',
            ),
            6 => 
            array (
                'id' => 10,
                'name' => 'config/role/insert',
                'displayName' => '角色新增',
                'root_pid' => 1,
                'pid' => 9,
                'lft' => 45,
                'rgt' => 46,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:07:57',
            ),
            7 => 
            array (
                'id' => 11,
                'name' => 'config/role/update',
                'displayName' => '角色更新',
                'root_pid' => 1,
                'pid' => 9,
                'lft' => 43,
                'rgt' => 44,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:08:11',
            ),
            8 => 
            array (
                'id' => 12,
                'name' => 'config/role/del',
                'displayName' => '角色删除',
                'root_pid' => 1,
                'pid' => 9,
                'lft' => 41,
                'rgt' => 42,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:08:21',
            ),
            9 => 
            array (
                'id' => 15,
                'name' => 'config/admin',
                'displayName' => '后台用户',
                'root_pid' => 1,
                'pid' => 1,
                'lft' => 32,
                'rgt' => 39,
                'level' => 2,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:09:18',
            ),
            10 => 
            array (
                'id' => 16,
                'name' => 'config/admin/insert',
                'displayName' => '后台用户新增',
                'root_pid' => 1,
                'pid' => 15,
                'lft' => 37,
                'rgt' => 38,
                'level' => 3,
                'updated_at' => '2020-09-15 16:21:31',
                'created_at' => '2020-09-15 10:09:38',
            ),
            11 => 
            array (
                'id' => 17,
                'name' => 'config/admin/update',
                'displayName' => '后台用户更新',
                'root_pid' => 1,
                'pid' => 15,
                'lft' => 35,
                'rgt' => 36,
                'level' => 3,
                'updated_at' => '2020-09-15 16:20:54',
                'created_at' => '2020-09-15 10:10:04',
            ),
            12 => 
            array (
                'id' => 18,
                'name' => 'config/admin/del',
                'displayName' => '后台用户删除',
                'root_pid' => 1,
                'pid' => 15,
                'lft' => 33,
                'rgt' => 34,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:10:19',
            ),
            13 => 
            array (
                'id' => 19,
                'name' => 'config/config',
                'displayName' => '公共配置',
                'root_pid' => 1,
                'pid' => 1,
                'lft' => 26,
                'rgt' => 31,
                'level' => 2,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:48:06',
            ),
            14 => 
            array (
                'id' => 20,
                'name' => 'config/update',
                'displayName' => '公共配置更新',
                'root_pid' => 1,
                'pid' => 19,
                'lft' => 29,
                'rgt' => 30,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:49:13',
            ),
            15 => 
            array (
                'id' => 21,
                'name' => 'config/delete',
                'displayName' => '系统配置删除',
                'root_pid' => 1,
                'pid' => 19,
                'lft' => 27,
                'rgt' => 28,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 10:50:04',
            ),
            16 => 
            array (
                'id' => 22,
                'name' => 'config/sms',
                'displayName' => '短信',
                'root_pid' => 1,
                'pid' => 1,
                'lft' => 20,
                'rgt' => 25,
                'level' => 2,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:04:11',
            ),
            17 => 
            array (
                'id' => 23,
                'name' => 'config/sms/set',
                'displayName' => '服务商设置',
                'root_pid' => 1,
                'pid' => 22,
                'lft' => 23,
                'rgt' => 24,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:05:22',
            ),
            18 => 
            array (
                'id' => 24,
                'name' => 'config/sms/tpl',
                'displayName' => '短信模板',
                'root_pid' => 1,
                'pid' => 22,
                'lft' => 21,
                'rgt' => 22,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:06:15',
            ),
            19 => 
            array (
                'id' => 26,
                'name' => 'config/record',
                'displayName' => '记录',
                'root_pid' => 1,
                'pid' => 1,
                'lft' => 14,
                'rgt' => 19,
                'level' => 2,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:07:28',
            ),
            20 => 
            array (
                'id' => 27,
                'name' => 'config/record/sms',
                'displayName' => '短信',
                'root_pid' => 1,
                'pid' => 26,
                'lft' => 17,
                'rgt' => 18,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:07:50',
            ),
            21 => 
            array (
                'id' => 28,
                'name' => 'config/record/systemlog',
                'displayName' => '系统日志',
                'root_pid' => 1,
                'pid' => 26,
                'lft' => 15,
                'rgt' => 16,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:08:10',
            ),
            22 => 
            array (
                'id' => 29,
                'name' => 'config/category',
                'displayName' => '分类',
                'root_pid' => 1,
                'pid' => 1,
                'lft' => 8,
                'rgt' => 13,
                'level' => 2,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:09:11',
            ),
            23 => 
            array (
                'id' => 31,
                'name' => 'config/category/update',
                'displayName' => '分类更新',
                'root_pid' => 1,
                'pid' => 29,
                'lft' => 11,
                'rgt' => 12,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:10:39',
            ),
            24 => 
            array (
                'id' => 32,
                'name' => 'config/category/delete',
                'displayName' => '分类删除',
                'root_pid' => 1,
                'pid' => 29,
                'lft' => 9,
                'rgt' => 10,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:11:12',
            ),
            25 => 
            array (
                'id' => 35,
                'name' => 'config/banner',
                'displayName' => '横幅广告',
                'root_pid' => 1,
                'pid' => 1,
                'lft' => 2,
                'rgt' => 7,
                'level' => 2,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:16:30',
            ),
            26 => 
            array (
                'id' => 36,
                'name' => 'config/banner/update',
                'displayName' => '横幅广告更新',
                'root_pid' => 1,
                'pid' => 35,
                'lft' => 5,
                'rgt' => 6,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:17:08',
            ),
            27 => 
            array (
                'id' => 37,
                'name' => 'config/banner/delete',
                'displayName' => '横幅广告删除',
                'root_pid' => 1,
                'pid' => 35,
                'lft' => 3,
                'rgt' => 4,
                'level' => 3,
                'updated_at' => '2020-09-15 11:17:51',
                'created_at' => '2020-09-15 11:17:51',
            ),
            28 => 
            array (
                'id' => 38,
                'name' => 'wechat',
                'displayName' => '微信引擎',
                'root_pid' => 38,
                'pid' => 0,
                'lft' => 1,
                'rgt' => 32,
                'level' => 1,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:24:05',
            ),
            29 => 
            array (
                'id' => 39,
                'name' => 'wechat/function',
                'displayName' => '功能',
                'root_pid' => 38,
                'pid' => 38,
                'lft' => 12,
                'rgt' => 31,
                'level' => 2,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:25:25',
            ),
            30 => 
            array (
                'id' => 40,
                'name' => 'wechat/manager',
                'displayName' => '管理',
                'root_pid' => 38,
                'pid' => 38,
                'lft' => 2,
                'rgt' => 11,
                'level' => 2,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:25:52',
            ),
            31 => 
            array (
                'id' => 41,
                'name' => 'wechat/function/reply',
                'displayName' => '自动回复',
                'root_pid' => 38,
                'pid' => 39,
                'lft' => 25,
                'rgt' => 30,
                'level' => 3,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:27:57',
            ),
            32 => 
            array (
                'id' => 42,
                'name' => 'wechat/function/menu',
                'displayName' => '自定义菜单',
                'root_pid' => 38,
                'pid' => 39,
                'lft' => 19,
                'rgt' => 24,
                'level' => 3,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:28:26',
            ),
            33 => 
            array (
                'id' => 43,
                'name' => 'wechat/function/customer',
                'displayName' => '客服',
                'root_pid' => 38,
                'pid' => 39,
                'lft' => 13,
                'rgt' => 18,
                'level' => 3,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:28:42',
            ),
            34 => 
            array (
                'id' => 44,
                'name' => 'wechat/manager/material',
                'displayName' => '素材管理',
                'root_pid' => 38,
                'pid' => 40,
                'lft' => 5,
                'rgt' => 10,
                'level' => 3,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:29:09',
            ),
            35 => 
            array (
                'id' => 45,
                'name' => 'wechat/manager/user',
                'displayName' => '微信用户',
                'root_pid' => 38,
                'pid' => 40,
                'lft' => 3,
                'rgt' => 4,
                'level' => 3,
                'updated_at' => '2020-09-15 11:29:31',
                'created_at' => '2020-09-15 11:29:31',
            ),
            36 => 
            array (
                'id' => 46,
                'name' => 'wechat/function/reply/update',
                'displayName' => '更新',
                'root_pid' => 38,
                'pid' => 41,
                'lft' => 28,
                'rgt' => 29,
                'level' => 4,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:30:34',
            ),
            37 => 
            array (
                'id' => 47,
                'name' => 'wechat/function/reply/delete',
                'displayName' => '删除',
                'root_pid' => 38,
                'pid' => 41,
                'lft' => 26,
                'rgt' => 27,
                'level' => 4,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:30:48',
            ),
            38 => 
            array (
                'id' => 48,
                'name' => 'wechat/function/menu/update',
                'displayName' => '更新',
                'root_pid' => 38,
                'pid' => 42,
                'lft' => 22,
                'rgt' => 23,
                'level' => 4,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:30:59',
            ),
            39 => 
            array (
                'id' => 49,
                'name' => 'wechat/function/menu/delete',
                'displayName' => '删除',
                'root_pid' => 38,
                'pid' => 42,
                'lft' => 20,
                'rgt' => 21,
                'level' => 4,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:31:10',
            ),
            40 => 
            array (
                'id' => 50,
                'name' => 'wechat/function/customer/update',
                'displayName' => '更新',
                'root_pid' => 38,
                'pid' => 43,
                'lft' => 16,
                'rgt' => 17,
                'level' => 4,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:31:23',
            ),
            41 => 
            array (
                'id' => 51,
                'name' => 'wechat/function/customer/delete',
                'displayName' => '删除',
                'root_pid' => 38,
                'pid' => 43,
                'lft' => 14,
                'rgt' => 15,
                'level' => 4,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:31:41',
            ),
            42 => 
            array (
                'id' => 52,
                'name' => 'wechat/manager/material/update',
                'displayName' => '更新',
                'root_pid' => 38,
                'pid' => 44,
                'lft' => 8,
                'rgt' => 9,
                'level' => 4,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:32:06',
            ),
            43 => 
            array (
                'id' => 53,
                'name' => 'wechat/manager/material/delete',
                'displayName' => '删除',
                'root_pid' => 38,
                'pid' => 44,
                'lft' => 6,
                'rgt' => 7,
                'level' => 4,
                'updated_at' => '2020-09-15 11:32:15',
                'created_at' => '2020-09-15 11:32:15',
            ),
        ));
        
        
    }
}